package com.imooc.service;

import com.imooc.dto.OrderDTO;

/**
 * @author liuhuan
 * @date 2018/7/8 09:46
 * @description
 */
public interface BuyerOrderService {
    /**
     * 查询订单详情
     * @param openId
     * @param orderId
     * @return
     */
    OrderDTO findOneOrder(String openId,String orderId);

    /**
     * 取消订单
     * @param openId
     * @param orderId
     * @return
     */
    OrderDTO cancelOrder(String openId,String orderId);
}
